package com.jc.task.springretry;

import com.jc.task.controller.RemoteController;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

/**
 * Created by Administrator on 2017/3/8.
 @SpringApplicationConfiguration(classes = TaskApplication.class)
 */
@RunWith(SpringJUnit4ClassRunner.class)
@WebAppConfiguration
public class springretry {

    @Autowired
    RemoteController remoteController;

    @Test
    public void test() throws Exception {
        remoteController.call();
    }
}